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

Update the implementation of pagination #4

Merged
merged 2 commits into from
Jun 6, 2022
Merged

Conversation

farshidtz
Copy link
Contributor

@farshidtz farshidtz commented May 16, 2022

Based on the latest spec, pagination should use limit and offset rather than page and per_page.

Spec: https://w3c.github.io/wot-discovery/#exploration-directory-api-things-listing

Closes #3

farshidtz added 2 commits May 16, 2022 18:55
- Remove unused APIs
- Remove XPath
- Remove Validation
- Update tests
@farshidtz farshidtz marked this pull request as ready for review June 6, 2022 12:14
@farshidtz farshidtz merged commit add7407 into main Jun 6, 2022
@farshidtz farshidtz deleted the update-pagination branch June 6, 2022 13:42
farshidtz added a commit that referenced this pull request Aug 13, 2022
* Update pagination to use offset and limit
* Remove unused code such as total funcs
* Remove XPath
* Remove Validation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Support offset and limit for pagination
1 participant