- request:
- `limit`- `per_page` for the number of items per page (there should be a max: TBD500 and a default: TBD10)
- `page` for the requested: show the nth page of search results (based on the amount per page
e set above)
- response:
- needs to contain the amount of results requested (at most)
Open questions
- how to indicate in the response if there are more results ("more pages")
- investigate best practise
- What should be the response if there are not enough results for requested page? 404 or empty list? To consider similarities and differences from search results for a request that results in no match (i.e. "first page" is empty)Notes:
- if page > 1 is- If a user requested and there are not enoughs a page greater than the total amount of search result for that many pages, then return 404pages, we will return an empty list