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.

Commit8993394

Browse files
committed
simplify and inline note about commits limit
1 parent2aaa8b9 commit8993394

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

‎content/v3/activity/events/types.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Key | Type | Description
278278
`head`|`string` | The SHA of the HEAD commit on the repository.
279279
`ref`|`string` | The full Git ref that was pushed. Example: "refs/heads/master"
280280
`size`|`integer` | The number of commits in the push.
281-
`commits`|`array` | The list of pushed commits.
281+
`commits`|`array` | The list of pushed commits (max 20, use the[Commits API](/v3/repos/commits/) to fetch more).
282282
`commits[][sha]`|`string` | The SHA of the commit.
283283
`commits[][message]`|`string` | The commit message.
284284
`commits[][author]`|`object` | The git author of the commit.
@@ -287,8 +287,6 @@ Key | Type | Description
287287
`commits[][url]`|`url` | Points to the commit API resource.
288288
`commits[][distinct]`|`boolean` | Whether this commit is distinct from any that have been pushed before.
289289

290-
Note: If the push contained more than 20 commits, only the first 20 commits will be included in the`commits` array. To get the full list of commits in the push, you can use the[Git Data API](/v3/git/commits/) or[Repositories Commits API](/v3/repos/commits/) to fetch`size` commits starting from the commit pointed to by`head`.
291-
292290
##ReleaseEvent
293291

294292
Triggered when a[release](/v3/repos/releases/#get-a-single-release) is published.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp