Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commitaeb8e0b

Browse files
committed
Reduce heading level to fix styles
1 parent10c36cb commitaeb8e0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎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)

[8]ページ先頭

©2009-2025 Movatter.jp