Skip to content
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

Improve pagination documentation. #7

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

keithrbennett
Copy link

When I execute the example call in the documentation, I don't always get the same results.

Based on my observations, it looks like there is no default sort order, because multiple requests not having a sort order return different results, whereas those containing a sort order always return the same results.

Although this was a surprise to me, it probably shouldn't have been. The server doesn't (can't) save any state between requests, and there is no concept of a result set to be iterated over in multiple requests...right?

So I added some text to clarify this. Also, I think the numbers in the offset example were off, so I changed them.

Regarding documentation of pagination, clarify that paged responses must have a sort order specified.

Fix position numbers in offset description.

…ust have a sort order specified.

Fix position numbers in offset description.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant