KeonHee opened a new issue #3051: Support pagination for actions, activations, ... in API response URL: https://github.com/apache/incubator-openwhisk/issues/3051 When I implementing a dashboard, the API was inconvenient because it did not support paging. This issue is similar to #1414, and I would like to discuss the output ### 1. Link Header If you add `size` and `current page` to request parameters(like `?page=3&size=30`), It return to response `last page`, `first page`, `next page` and `prev page` in link header. Like a GitHub API: https://developer.github.com/v3/#pagination This is also specified in the [RFC](https://tools.ietf.org/html/rfc5988) Since OW using `?limit=30&skip=0`, a lot of changes are needed. :( ### 2. X-TOTAL-COUNT This is a way to return to response a `total count value` in custom header. It is easy to implement, because CouchDb view is already returns total count. Just set header.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
