1
0
mirror of synced 2025-12-25 11:03:37 -05:00

Merge pull request #49890 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2024-03-26 17:56:22 -04:00
committed by GitHub

View File

@@ -36,10 +36,10 @@ The event objects returned from the Events API endpoints have the same structure
| `actor.gravatar_id` | `string` | The unique identifier of the Gravatar profile for the actor. |
| `actor.url` | `string` | The REST API URL used to retrieve the user object, which includes additional user information. |
| `actor.avatar_url` | `string` | The URL of the actor's profile image. |
| `repository` | `object` | The repository object where the event occurred. |
| `repository.id` | `string` | The unique identifier of the repository. |
| `repository.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. |
| `repository.url` | `string` | The REST API URL used to retrieve the repository object, which includes additional repository information. |
| `repo` | `object` | The repository object where the event occurred. |
| `repo.id` | `string` | The unique identifier of the repository. |
| `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. |
| `repo.url` | `string` | The REST API URL used to retrieve the repository object, which includes additional repository information. |
| `payload` | `object` | The event payload object is unique to the event type. See the event type below for the event API `payload` object. |
| `public` | `boolean` | Whether the event is visible to all users. |
| `created_at` | `string` | The date and time when the event was triggered. It is formatted according to ISO 8601. |
@@ -67,7 +67,7 @@ Link: <https://api.github.com/resource?page=2>; rel="next",
"public": false,
"payload": {
},
"repository": {
"repo": {
"id": 3,
"name": "octocat/Hello-World",
"url": "https://api.github.com/repos/octocat/Hello-World"