Skip to content

Commit 526a2d0

Browse files
Co-authored-by: Alex Nguyen <[email protected]>
1 parent 1c69432 commit 526a2d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/rest/using-the-rest-api/github-event-types.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,24 @@ The event objects returned from the Events API endpoints have the same structure
2727

2828
| Event API attribute name | Type | Description |
2929
|--------------------------|-------------|-------------|
30-
| `id` | `string` | Unique identifier for the event. |
30+
| `id` | `integer` | Unique identifier for the event. |
3131
| `type` | `string` | The type of event. Events uses PascalCase for the name. |
3232
| `actor` | `object` | The user that triggered the event. |
33-
| `actor.id` | `string` | The unique identifier for the actor. |
33+
| `actor.id` | `integer` | The unique identifier for the actor. |
3434
| `actor.login` | `string` | The username of the actor. |
3535
| `actor.display_login` | `string` | The specific display format of the username. |
3636
| `actor.gravatar_id` | `string` | The unique identifier of the Gravatar profile for the actor. |
3737
| `actor.url` | `string` | The REST API URL used to retrieve the user object, which includes additional user information. |
3838
| `actor.avatar_url` | `string` | The URL of the actor's profile image. |
3939
| `repo` | `object` | The repository object where the event occurred. |
40-
| `repo.id` | `string` | The unique identifier of the repository. |
40+
| `repo.id` | `integer` | The unique identifier of the repository. |
4141
| `repo.name` | `string` | The name of the repository, which includes the owner and repository name. For example, `octocat/hello-world` is the name of the `hello-world` repository owned by the `octocat` personal account. |
4242
| `repo.url` | `string` | The REST API URL used to retrieve the repository object, which includes additional repository information. |
4343
| `payload` | `object` | The event payload object is unique to the event type. See the event type below for the event API `payload` object. |
4444
| `public` | `boolean` | Whether the event is visible to all users. |
4545
| `created_at` | `string` | The date and time when the event was triggered. It is formatted according to ISO 8601. |
4646
| `org` | `object` | The organization that was chosen by the actor to perform action that triggers the event.<br />_The property appears in the event object only if it is applicable._ |
47-
| `org.id` | `string` | The unique identifier for the organization. |
47+
| `org.id` | `integer` | The unique identifier for the organization. |
4848
| `org.login` | `string` | The name of the organization. |
4949
| `org.gravatar_id` | `string` | The unique identifier of the Gravatar profile for the organization. |
5050
| `org.url` | `string` | The REST API URL used to retrieve the organization object, which includes additional organization information. |

0 commit comments

Comments
 (0)