You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No type for API responses that return a list of values #235
I've found that when querying endpoints such as https://graph.microsoft.com/v1.0/groups I cannot find any types that match up with the response structure shown below:
+1. Having types that encompass the @odata fields (both in the envelope and inside the entity) would be cool, especially for delta sync endpoints to easily get at @odata.nextLink and @odata.deltaLink.
Activity
nikithauc commentedon Mar 4, 2021
Michael (@M1kep)
This is intended behavior.
Example of using the
Grouptype in this case -Please let me know if you have any more questions.
markfields commentedon Mar 25, 2021
+1. Having types that encompass the
@odatafields (both in the envelope and inside the entity) would be cool, especially for delta sync endpoints to easily get at@odata.nextLinkand@odata.deltaLink.markfields commentedon Mar 25, 2021
I defined my own type for this purpose:
Maybe it could be expanded upon to actually list some the valid
@odataproperties for ease of use if you need them in code? (e.g.@odata.nextLink)richban commentedon Jun 23, 2021
Bit out of topic but how can I remove the
@dataprops from each response?Jonas-Seiler-Wave commentedon Mar 1, 2022
I think this really shouldn't be the intended behavior