Skip to content

Commit aeb8e0b

Browse files
committed
Reduce heading level to fix styles
1 parent 10c36cb commit aeb8e0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/changes/2014-05-09-improved-pagination-for-the-repository-commits-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ author_name: izuzak
77

88
The [Repository Commits API](/v3/repos/commits/) now supports an additional approach for paginating [commit lists](/v3/repos/commits/#list-commits-on-a-repository). As of today, this endpoint supports the "standard" [`page` and `per_page` parameters](/v3/#pagination) for controlling pagination. This API now uses these parameters by default when constructing [page links](/v3/#pagination).
99

10-
# Improved results and increased consistency
10+
## Improved results and increased consistency
1111

1212
This new approach improves the reliability of this endpoint, which on rare occasions skipped some commits during pagination. This enhancement also increases the overall consistency of the API, as all endpoints now paginate resource lists the same way.
1313

14-
# Old parameters still supported
14+
## Old parameters still supported
1515

1616
The old way of paginating, using `top`, `last_sha`, and `per_page` parameters, is still supported in API v3, but it will be removed in the [next major version of the API](https://developer.github.com/v3/versions/#v3-deprecations). API clients that are manually constructing URLs for pages should be modified to use the new parameters. Even better, API clients shouldn't construct URLs for pages manually, but should use [page links provided by the `Link` header](/guides/traversing-with-pagination/) in API responses.
1717

0 commit comments

Comments
 (0)