3 ms·
The GitHub API uses the Link header for that. $ curl https://api.github.com/repos/github/gollum/issues -i HTTP/1.1 200 OK Content-Type: appl
by technoweenie 15y ago
The GitHub API uses the Link header for that.
$ curl https://api.github.com/repos/github/gollum/issues -i
HTTP/1.1 200 OK
Content-Type: application/json
Link: <https://api.github.com/repos/github/gollum/issues?page=2>; rel="next", <https://api.github.com/repos/github/gollum/issues?page=3>; rel="last"