-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paging / Pagination request #62
Comments
Thank you @warrenmcquinn. I agree that we should have documentation on paging. 2123467 |
How is the |
@mahpour You'll use the @OData.nextlink value as the url to make the next call to get the next page of results. |
I understand that, but aren’t we using this JavaScript library to not deal with http requests directly? It doesn’t make sense to make some of the calls using Microsoft client and some via direct http methods... |
Yes, I agree with you. It hasn't been implemented yet. |
Would be nice to have it |
👍 +1 for implementing this |
Fixed in this release: https://github.com/microsoftgraph/msgraph-sdk-javascript/releases/tag/1.4.0 |
Hey there,
Thanks for open-sourcing this library!
It'd be great if someone updated the Readme to address pagination.
For example, accessing a user's contacts with an MS Graph query to
/contacts
returns 10 results per page by default. It's possible to add a$top
query parameter to increase that page size.However, it should definitely be mentioned that the
result["@odata.nextLink"]
URL (returned with the query response) needs to be queried in order to get the rest of the user's contacts (as well as all additionalresult["@odata.nextLink"]
s!).I know it's basic pagination 101, but this library's documentation should really include an overview of paging.
The text was updated successfully, but these errors were encountered: