Pagination changes for some resource lists
In an effort to keep the API fast for everyone, we’re enabling
pagination on some API methods that previously did not support it.
Beginning today, the methods below will paginate if you include page
or
per_page
query parameters. Starting April 17th, 2014, these methods will
always return paginated results. If you have any questions or
run into trouble, feel free to get in touch.
Here’s the complete list of updated methods:
Gist comments
GET /gists/:gist_id/comments
Gist commits
GET /gists/:gist_id/commits
Gist forks
GET /gists/:gist_id/forks
Git refs
GET /repos/:owner/:repo/git/refs
Issue labels
GET /repos/:owner/:repo/issues/:number/labels
Milestone labels
GET /repos/:owner/:repo/milestones/:id/labels
Organization teams
GET /orgs/:org/teams
Pull Request commits
GET /repos/:owner/:repo/pulls/:number/commits
Pull Request files
GET /repos/:owner/:repo/pulls/:number/files
Release assets
GET /repos/:owner/:repo/releases/:id/assets
Repository collaborators
GET /repos/:owner/:repo/collaborators
Repository contributors
GET /repos/:owner/:repo/contributors
Repository branches
GET /repos/:owner/:repo/branches
Repository downloads
GET /repos/:owner/:repo/downloads
Repository keys
GET /repos/:owner/:repo/keys
Repository labels
GET /repos/:owner/:repo/labels
Repository tags
GET /repos/:owner/:repo/tags
Repository teams
GET /repos/:owner/:repo/teams
Team members
GET /teams/:id/members
Team repositories
GET /teams/:id/repos
User emails (v3 media type only)
GET /user/emails
User keys
GET /users/:user/keys
GET /user/keys