You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: content/v3/activity/events/types.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -278,7 +278,7 @@ Key | Type | Description
278
278
`head`|`string` | The SHA of the HEAD commit on the repository.
279
279
`ref`|`string` | The full Git ref that was pushed. Example: "refs/heads/master"
280
280
`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).
282
282
`commits[][sha]`|`string` | The SHA of the commit.
283
283
`commits[][message]`|`string` | The commit message.
284
284
`commits[][author]`|`object` | The git author of the commit.
@@ -287,8 +287,6 @@ Key | Type | Description
287
287
`commits[][url]`|`url` | Points to the commit API resource.
288
288
`commits[][distinct]`|`boolean` | Whether this commit is distinct from any that have been pushed before.
289
289
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
-
292
290
##ReleaseEvent
293
291
294
292
Triggered when a[release](/v3/repos/releases/#get-a-single-release) is published.