Closed rhyolight closed 8 years ago
When users go to http://localhost:8085/<river-name>/data.json, two new pagination options should apply to the search results:
http://localhost:8085/<river-name>/data.json
itemsPerPage
page
If no page query param is received, the default should be 1.
1
The resulting JSON should also be updated to contain the page in result objects, like this:
{ "name":"<river-name>", "type":"<data-type>", "timezone":"<timezone>", "page":"1", "headers":[...], "data":[...] }
Depends on #129.
When users go to
http://localhost:8085/<river-name>/data.json
, two new pagination options should apply to the search results:itemsPerPage
int: how many keys to show on a pagepage
[int]: which page to showIf no
page
query param is received, the default should be1
.The resulting JSON should also be updated to contain the
page
in result objects, like this:Depends on #129.