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.

Commit6ffd7e3

Browse files
committed
Merge pull request#67 from github/pushevent-limit-commits
Document limit in the number of commits returned by PushEvent
2 parents949e65d +8993394 commit6ffd7e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 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,7 +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-
291290
##ReleaseEvent
292291

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp