-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide Link response header for pagination
When traversing the list of snippets page by page provide an additional response header - Link - that contains the links to the previous and the next page with the given value of limit (if such pages exist). This follows the idea from: https://developer.github.com/v3/guides/traversing-with-pagination/ and https://tools.ietf.org/html/rfc5988 Hopefully, this will make using of pagination easier on the client side.
- Loading branch information
Showing
4 changed files
with
307 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.