Skip to content

Set default sort fields and implement pagination on list API endpoints#19

Merged
ahadith merged 2 commits intosunnah-com:masterfrom
Glaisher:sort-paginate
Jun 8, 2020
Merged

Set default sort fields and implement pagination on list API endpoints#19
ahadith merged 2 commits intosunnah-com:masterfrom
Glaisher:sort-paginate

Conversation

@Glaisher
Copy link
Member

@Glaisher Glaisher commented Jun 8, 2020

(resubmission of #18)
Default limit: 50
Max limit: 100

Example usage:
/v1/collections/bukhari/books/2/hadiths?limit=20&page=2

Glaisher added 2 commits June 8, 2020 22:58
Default limit: 50
Max limit: 100

Example usage:
/v1/collections/bukhari/books/2/hadiths?limit=20&page=2
@ahadith ahadith merged commit fafbb8e into sunnah-com:master Jun 8, 2020
@Glaisher Glaisher deleted the sort-paginate branch June 8, 2020 19:47
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.

2 participants

Comments