Reputation: 3736
https://graph.microsoft.com/v1.0/groups/delta?$filter=id eq 'id' [https://learn.microsoft.com/en-us/graph/delta-query-groups]
https://graph.microsoft.com/v1.0/groups/id/members [https://learn.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0&tabs=http]
What is the difference between the above two queries? 1st one returns membership of a group with details like '@removed' users + delta link and 2nd one returns membership of a group without details like '@removed' users. Is that the only difference? What is the cost associated with running these 2 queries in terms of performance, compute time?
Upvotes: 0
Views: 199
Reputation: 740
Delta query enables applications to discover newly created, updated, or deleted entities without performing a full read of the target resource with every request. it helps to track the changes .
where as https://graph.microsoft.com/v1.0/groups/id/members return all the members data.
please read the doc for more info - https://learn.microsoft.com/en-us/graph/delta-query-overview
Hope that's helps
Thanks
Upvotes: 1